<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>报告模版</title>
    <style type="text/css">
        html {
            font-family: sans-serif;
            -ms-text-size-adjust: 100%;
            -webkit-text-size-adjust: 100%;
        }

        body {
            margin: 10px;
        }
        table {
            border-collapse: collapse;
            border-spacing: 0;
        }
        /*
         * pdf 分页样式
         */
        .pageNext{
            page-break-after:always;
        }
        td,th {
            padding: 0;
            font-size: 12px;
        }

        .pure-table {
            border-collapse: collapse;
            border-spacing: 0;
            empty-cells: show;
            border: 1px solid #000000;
        }

        .pure-table caption {
            color: #000;
            font: italic 85%/1 arial,sans-serif;
            padding: 1em 0;
            text-align: center;
        }

        .pure-table td,.pure-table th {
            border-left: 1px solid #000000;
            border-width: 0 0 0 1px;
            border-bottom: 1px solid #000000;
            font-size: 12px;
            margin: 0;
            overflow: visible;
            padding: .5em 1em;
        }

        .pure-table thead {
            color: #000;
            text-align: left;
            vertical-align: bottom;

        }

        .pure-table td {
            background-color: transparent;
        }

        .pure-table-bordered td {
            border-bottom: 1px solid #000000;
        }

        .pure-table-bordered tbody>tr:last-child>td {
            border-bottom-width: 0;
        }
    </style>
</head><!--  引入字体  -->
<body style="font-family: SimSun;tab-interval:21pt;text-justify-trim:punctuation;">
<div><p align="center"><span style="font-size: 18px;font-weight: bold">附加协议</span></p>
    <p style="font-size: 12px;font-weight: bold"><span >甲&nbsp;&nbsp;方：</span><span th:text="${template.partyCompanyName}"></span></p>
    <p style="font-size: 12px;font-weight: bold"><span>乙&nbsp;&nbsp;方：</span><span th:text="${template.companyName}"></span></p>
    <br/>
    <br/>
    <p style="font-size: 12px;"><span>代理招聘地区：</span>
        <span th:text="${template.region}"></span><span>；&nbsp;&nbsp;项目：</span>
        <span th:text="${template.project}"></span><span>；&nbsp;&nbsp;工种：</span>
        <span th:text="${template.workType}"></span>
    </p>
    <p style="font-size: 14px;font-weight: bold" th:if="${template.list} ne null"><span>附件一：</span></p>
    <table class="pure-table pure-table-bordered" th:if="${template.list} ne null">

        <thead>
            <tr>
                <th width="100.0000%" valign="top" colspan="6"><p align="center"><span>基础结算--结算价格表</span></p></th>
            </tr>
            <tr>
                <th width="10.0000%" valign="top"><p align="center"><span>主体</span></p></th>
                <th width="7.0000%" valign="top"><p align="center"><span>项目</span></p></th>
                <th width="5.0000%" valign="top"><p align="center"><span>城市</span></p></th>
                <th width="15.0000%" valign="top"><p align="center"><span>站点</span></p></th>
                <th width="40.0000%" valign="top"><p align="center"><span>结算条件</span></p></th>
                <th width="23.0000%" valign="top"><p align="center"><span>生效时间</span></p></th>
            </tr>
        </thead>

        <tbody th:if="${template.list}">
        <tr th:each="m,var : ${template.list}">
            <td width="10.0000%"  valign="center" >
                <p align="center" >
                    <span th:text="${m.mainCompany}">
                    </span>
                </p>
            </td>
            <td width="7.0000%"  valign="top"  >

                <p>
                    <span th:text="${m.project}">
                    </span>
                </p>
            </td>
            <td width="5.0000%"  valign="top" >

                <p >
                    <span th:text="${m.pushCity}">
                    </span>
                </p>
            </td>
            <td width="15.0000%"  valign="top" >
                <p >
                    <span th:text="${m.site}">
                    </span>
                </p>

            </td>
            <td width="40.0000%"  valign="center" >
                <p th:if="${m.workDayOne} ne null">出勤≥<span th:text="${m.workDayOne}"></span>天，且跑单量≥<span th:text="${m.runOrderOne}"></span>单，支付服务费用<span th:text="${m.settleMoneyOne}"></span> 元/人</p>
                <p th:if="${m.workDayTwo} ne null">累计出勤≥<span th:text="${m.workDayTwo}"></span>天，且累计跑单量≥<span th:text="${m.runOrderTwo}"></span>单，再支付服务费用 <span th:text="${m.moneyTwo}"></span> 元/人</p>
                <p th:if="${m.workDayThree} ne null">累计出勤≥<span th:text="${m.workDayThree}"></span>天，且累计跑单量≥<span th:text="${m.runOrderThree}"></span>单，再支付服务费用 <span th:text="${m.moneyThree}"></span> 元/人</p>
                <p th:if="${m.highestMoney} ne null">备注：最高支付<span th:text="${m.highestMoney}"></span>元/人</p>

                <div th:if="${m.gamblingTreaty} ne null" th:each="a,i:${m.gamblingTreatyStrings}">
                    <span th:text="${a}"></span>
                </div>
                <p th:if="${m.gamblingTreaty} ne null">
                    说明：当满足上述人数阶梯标准，对应的结算价格适用于所有人
                </p>

            </td>
            <td width="23.0000%"  valign="top"  >
                <p th:if="${m.startTimeStr} ne null">
                    <span th:text="${m.startTimeStr}"></span>-<span th:text="${m.endTimeStr}"></span>
                </p>
            </td>
        </tr>

        <tr style="height:38.4000pt;" >
            <td width="100.0000%"  valign="top"  colspan="6" >
                <p>
                    <span >备注</span>
                </p>
                <p >
            <span >
                1、各地区总费用标准须符合地区的指导价。
            </span>
                </p>
                <p >
            <span >
                2、出勤定义：10单及以上即为有效出勤
            </span>
                </p>
                <p>
            <span>
                3、本次合作前至少90天内有合作记录者，视为友情推荐，不作为结算费用对象。
            </span>
                </p>
                <p>
            <span>
                4、出勤及在出勤天数内对应单量为累计单量；出勤天数与跑单量为并列关系。
            </span>
                </p>
                <p>
            <span>
                5、以上所招配送员均为全职人员，兼职不作为核算对象。
            </span>

                </p>

                <p>
            <span>
                6、当月按照档位价格计算所有合格人数费用。
            </span>
                </p>
                <p>
            <span>
                7、乙方推送骑手的推荐日期和入职日期间隔大于10天，视为乙方无效推送，甲方不予以结算。
            </span>

                </p>
                <p>
            <span>
                8. 乙方推送人员，因个人原因重复入离职，离职前未结算完招聘费，二次入职时，不予以结算。
            </span>
                </p>
                <p>
            <span>
                9、依据市场环境的影响，结算价格随市场价格变化而变化，每月的结算价格以双方邮件确认为准。
            </span>
                </p>
            </td>
        </tr>
        </tbody>
    </table>

    <!-- 分页 每个附加单独一页 -->
    <div class='pageNext'></div>

    <p style="font-size: 14px;font-weight: bold" th:if="${template.seasonList} ne null"><span>附件二：</span></p>
    <table class="pure-table pure-table-bordered" th:if="${template.seasonList} ne null">

        <thead>
        <tr>
            <th width="100.0000%" valign="top" colspan="6"><p align="center"><span>季节结算--结算价格表</span></p></th>
        </tr>
        <tr>
            <th width="10.0000%" valign="top"><p align="center"><span>主体</span></p></th>
            <th width="7.0000%" valign="top"><p align="center"><span>项目</span></p></th>
            <th width="5.0000%" valign="top"><p align="center"><span>城市</span></p></th>
            <th width="15.0000%" valign="top"><p align="center"><span>站点</span></p></th>
            <th width="40.0000%" valign="top"><p align="center"><span>结算条件</span></p></th>
            <th width="23.0000%" valign="top"><p align="center"><span>生效时间</span></p></th>
        </tr>
        </thead>

        <tbody th:if="${template.seasonList}">
        <tr th:each="m,var : ${template.seasonList}">
            <td width="10.0000%"  valign="center" >
                <p align="center" >
                    <span th:text="${m.mainCompany}">
                    </span>
                </p>
            </td>
            <td width="7.0000%"  valign="top"  >

                <p>
                    <span th:text="${m.project}">
                    </span>
                </p>
            </td>
            <td width="5.0000%"  valign="top" >

                <p >
                    <span th:text="${m.pushCity}">
                    </span>
                </p>
            </td>
            <td width="15.0000%"  valign="top" >
                <p >
                    <span th:text="${m.site}">
                    </span>
                </p>

            </td>
            <td width="40.0000%"  valign="center" >
                <p th:if="${m.workDayOne} ne null">出勤≥<span th:text="${m.workDayOne}"></span>天，且跑单量≥<span th:text="${m.runOrderOne}"></span>单，支付服务费用<span th:text="${m.settleMoneyOne}"></span> 元/人</p>
                <p th:if="${m.workDayTwo} ne null">累计出勤≥<span th:text="${m.workDayTwo}"></span>天，且累计跑单量≥<span th:text="${m.runOrderTwo}"></span>单，再支付服务费用 <span th:text="${m.moneyTwo}"></span> 元/人</p>
                <p th:if="${m.workDayThree} ne null">累计出勤≥<span th:text="${m.workDayThree}"></span>天，且累计跑单量≥<span th:text="${m.runOrderThree}"></span>单，再支付服务费用 <span th:text="${m.moneyThree}"></span> 元/人</p>
                <p th:if="${m.highestMoney} ne null">备注：最高支付<span th:text="${m.highestMoney}"></span>元/人</p>

                <div th:if="${m.gamblingTreaty} ne null" th:each="a,i:${m.gamblingTreatyStrings}">
                    <span th:text="${a}"></span>
                </div>
                <p th:if="${m.gamblingTreaty} ne null">
                    说明：当满足上述人数阶梯标准，对应的结算价格适用于所有人
                </p>

            </td>
            <td width="23.0000%"  valign="top"  >
                <p th:if="${m.startTimeStr} ne null">
                    <span th:text="${m.startTimeStr}"></span>-<span th:text="${m.endTimeStr}"></span>
                </p>
            </td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>
